package com.yjt.common.log.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@Builder(toBuilder = true)
@Accessors(chain = true)
@TableName("b_normal_log")
public class NormalLog {
    @ApiModelProperty(value = "正常日志id")
    private String operId;
    @ApiModelProperty(value = "功能模块")
    private String operModul;
    @ApiModelProperty(value = "操作类型")
    private String operType;
    @ApiModelProperty(value = "操作描述")
    private String operDesc;
    @ApiModelProperty(value = "操作方法")
    private String operMethod;
    @ApiModelProperty(value = "请求参数")
    private String operRequParam;
    @ApiModelProperty(value = "返回参数")
    private String operRespParam;
    @ApiModelProperty(value = "操作员id")
    private String operUserId;
    @ApiModelProperty(value = "操作员名称")
    private String operUserName;
    @ApiModelProperty(value = "请求ip")
    private String operIp;
    @ApiModelProperty(value = "请求地址")
    private String operUri;
    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalDateTime operCreateTime;
    @ApiModelProperty(value = "操作版本号")
    private String operVer;
}
